<!doctype html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title><script>document.write(location.search.indexOf("id")>0?"修改商品资料表":"新增商品资料表");</script></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_1183541_m2b01rduo4l.css">
    <link rel="stylesheet" href="../../../assets/css/xadmin.css">
</head>
<body>
<div class="x-nav">
      <span class="layui-breadcrumb">
          <a href="../dashboard/welcome.html">首页</a>
          <a><cite>基础资料</cite></a>
          <a href="goodsList.html">商品资料表列表</a>
          <a><cite><script>document.write(location.search.indexOf("id")>0?"修改商品资料表":"新增商品资料表");</script></cite></a>
      </span>
    <a class="layui-btn layui-btn-sm layui-btn-normal" style="line-height:1.6em;margin-top:4px;float:right"
       href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
</div>
<div class="x-body">
    <form id="formForm"  class="layui-form" lay-filter="formForm">
        <input type="hidden" name="entId">
        <input type="hidden" name="id">
        <input type="hidden" name="baseUomId">
        <input type="hidden" name="qtyUomId">
        <input type="hidden" name="auxUomId">
        <input type="hidden" name="classId">
        <input type="hidden" name="createUserId">
        <input type="hidden" name="updateUserId">
        <blockquote class="layui-elem-quote x-form-quote"  >
            <button class="layui-btn layui-btn-sm layui-btn-normal" lay-submit="" lay-filter="formSubmitFilter"><i  class="iconfont layui-extend-save "></i>保存</button>
            <button type="button" class="layui-btn  layui-btn-sm layui-btn-primary " onclick="window.location.href='goodsList.html'"><i  class="iconfont layui-extend-fanhui"></i>返回</button>
        </blockquote>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">商品货号</label>
                <div class="layui-input-inline">
                        <input type="text" name="goodsCode" lay-verify="goodsCode" class="layui-input layui-disabled" disabled value="<系统自动生成>"/>
                </div>
            </div>
             <div class="layui-inline">
                <label class="layui-form-label">商品名称</label>
                <div class="layui-input-inline">
                        <input type="text" name="goodsName" lay-verify="goodsName" class="layui-input"/>
                </div>
            </div>
             <div class="layui-inline">
                <label class="layui-form-label">商品型号</label>
                <div class="layui-input-inline">
                        <input type="text" name="goodsModel" lay-verify="goodsModel" class="layui-input"/>
                </div>
            </div>
             <div class="layui-inline">
                <label class="layui-form-label">商品规格</label>
                <div class="layui-input-inline">
                        <input type="text" name="goodsSpec" lay-verify="goodsSpec" class="layui-input"/>
                </div>
            </div>
        </div>
         <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">商品类型</label>
            <div class="layui-input-inline">
                    <select name="goodsType" dist-name="base.Goods_GoodsTypeEnum" config="">
                    </select>
            </div>
        </div>
         <div class="layui-inline">
            <label class="layui-form-label">基本单位</label>
            <div class="layui-input-inline">
                    <input type="text" placeholder="请选择" value="" name="baseUomName"   id="baseUomNameSearchInput" lay-filter="baseUomNameVerify" lay-verify="baseUomName"  class="layui-input">
            </div>
        </div>
         <div class="layui-inline">
            <label class="layui-form-label">库存单位</label>
            <div class="layui-input-inline">
                    <input type="text" placeholder="请选择" value="" name="qtyUomName"   id="qtyUomNameSearchInput" lay-filter="qtyUomNameVerify" lay-verify="qtyUomName"  class="layui-input">
            </div>
        </div>
         <div class="layui-inline">
            <label class="layui-form-label">辅助单位</label>
            <div class="layui-input-inline">
                    <input type="text" placeholder="请选择" value="" name="auxUomName"   id="auxUomNameSearchInput" lay-filter="auxUomNameVerify" lay-verify="auxUomName"  class="layui-input">
            </div>
        </div>
        </div>
         <div class="layui-form-item"><!--
        <div class="layui-inline">
            <label class="layui-form-label">id路径 /0/</label>
            <div class="layui-input-inline">
                    <input type="text" name="classPathId" lay-verify="classPathId" class="layui-input"/>
            </div>
        </div>
         <div class="layui-inline">
            <label class="layui-form-label">名称路径 /上级名称/</label>
            <div class="layui-input-inline">
                    <input type="text" name="classPathName" lay-verify="classPathName" class="layui-input"/>
            </div>
        </div>
         <div class="layui-inline">
            <label class="layui-form-label">商品分类名称</label>
            <div class="layui-input-inline">
                    <input type="text" placeholder="请选择" value="" name="className"   id="classNameSearchInput" lay-filter="classNameVerify" lay-verify="classNameVerify"  class="layui-input">
            </div>
        </div>-->
         <div class="layui-inline">
             <label class="layui-form-label">整箱数量</label>
             <div class="layui-input-inline">
                 <input type="number" name="boxNum" lay-verify="" class="layui-input"/>
             </div>
         </div>
         <div class="layui-inline">
             <label class="layui-form-label">库存换算</label>
             <div class="layui-input-inline">
                 <input type="number" name="converUnit1" lay-verify="converUnit1" class="layui-input"/>
             </div>
         </div>
         <div class="layui-inline">
             <label class="layui-form-label">辅助换算</label>
             <div class="layui-input-inline">
                 <input type="number" name="converUnit2" lay-verify="converUnit2" class="layui-input"/>
             </div>
         </div>
         <div class="layui-inline">
            <label class="layui-form-label">体积</label>
            <div class="layui-input-inline">
                    <input type="number" name="volume" lay-verify="" class="layui-input"/>
            </div>
        </div>
        </div>
         <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">净重</label>
            <div class="layui-input-inline">
                    <input type="number" name="weight" lay-verify="" class="layui-input"/>
            </div>
        </div>

         <div class="layui-inline">
            <label class="layui-form-label">网络挂牌价</label>
            <div class="layui-input-inline">
                    <input type="number" name="listPrice" lay-verify="" class="layui-input"/>
            </div>
        </div>
         <div class="layui-inline">
            <label class="layui-form-label">商品库位</label>
            <div class="layui-input-inline">
                    <input type="text" name="location" lay-verify="" class="layui-input"/>
            </div>
        </div>
         <div class="layui-inline">
             <label class="layui-form-label">是否有效</label>
             <div class="layui-input-inline">
                 <input type="checkbox" name="isValid" lay-skin="switch"  value="1"  lay-text="启用|禁用">
             </div>
         </div>
        </div>

         <div class="layui-form-item" id="createRowInfo">
             <div class="layui-inline">
                 <label class="layui-form-label">创建人</label>
                 <div class="layui-input-inline">
                     <input type="text" name="createUserName" lay-verify="" class="layui-input layui-disabled" disabled/>
                 </div>
             </div>
             <div class="layui-inline">
                 <label class="layui-form-label">创建时间</label>
                 <div class="layui-input-inline">
                     <input type="text" class="layui-input layui-disabled" disabled id="createTime" name="createTime" lay-verify="">
                 </div>
             </div>
            <div class="layui-inline">
                <label class="layui-form-label">修改人</label>
                <div class="layui-input-inline">
                        <input type="text" name="updateUserName" lay-verify="" class="layui-input layui-disabled" disabled/>
                </div>
            </div>
             <div class="layui-inline">
                <label class="layui-form-label">修改时间</label>
                <div class="layui-input-inline">
                        <input type="text" class="layui-input layui-disabled" disabled id="updateTime" name="updateTime" lay-verify=""  >
                </div>
             </div>
         </div>
        <div class="layui-form-item">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-input-block">
                        <textarea  class="layui-textarea" name="remark" style="width: 1043px"></textarea>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="../../../assets/js/lib.js"></script>
<script type="text/javascript" src="goodsForm.js?r=1"></script>
</body>
</html>
